/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package e.odbo.data.impexp.generator;

import e.odbo.data.impexp.FieldGenerator;

/**
 * @author Administrator
 */
public class NumberGenerator implements FieldGenerator<Integer> {

    public static final NumberGenerator INSTANCE = new NumberGenerator();

    int i = 0;

    @Override
    public Integer getNext() {
        return i++;
    }

    @Override
    public String getName() {
        return "自增整整数生成器";
    }
}
